from abc import ABCMeta,abstractmethod


class BaseLogger(metaclass=ABCMeta):

    def __init__(self,level,fmt):
        self.fmt = fmt
        self.level = level
    @abstractmethod
    def info(self,sender,msg):
        pass
    @abstractmethod
    def debug(self,sender,msg):
        pass

    @abstractmethod
    def warn(self,sender,msg):
        pass

    @abstractmethod
    def error(self,sender,msg):
        pass

